Skip to content

[release/10.0] Add test helper and test cases to validate EventSource IDs#65427

Merged
wtgodbe merged 6 commits intorelease/10.0from
backport/pr-65408-to-release/10.0
Feb 18, 2026
Merged

[release/10.0] Add test helper and test cases to validate EventSource IDs#65427
wtgodbe merged 6 commits intorelease/10.0from
backport/pr-65408-to-release/10.0

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 13, 2026

Backport of #65408 to release/10.0

/cc @danegsta

Add test helper and test cases to validate EventSource IDs

Adds new test helper and unit tests to validate EventSource IDs in our PR and CI builds

Description

Adds a new test helper and unit tests to validate EventSource IDs via reflection to catch ID configuration issues during unit tests/PR and CI builds. This lets us catch mismatched or duplicate ID values via unit tests.

Fixes #65407

Customer Impact

EventSource ID configuration is fragile and introduces nasty runtime bugs when things go wrong. An EventSource ID bug (#65391) shipped in 10.0.103 (since fixed) and these new tests would have caught it during PR.

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

This is new test coverage (which itself has new test coverage).

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

@github-actions github-actions bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Feb 13, 2026
@danegsta danegsta added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Servicing-consider Shiproom approval is required for the issue and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Feb 13, 2026
@wtgodbe
Copy link
Member

wtgodbe commented Feb 18, 2026

Treating as tell mode since this is test-only

@wtgodbe wtgodbe merged commit 233fc78 into release/10.0 Feb 18, 2026
28 checks passed
@wtgodbe wtgodbe deleted the backport/pr-65408-to-release/10.0 branch February 18, 2026 19:09
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0.4 milestone Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments